<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <title>JSP - Hello World</title>
</head>
<body>
<h1><%= "Hello World!" %>
</h1>
<br/>
<form action="regist" method="post">
    账号：<input type="text" name="username" id=""><br>

    密码：<input type="password" name="pwd"><br>

    性别：<input type="radio" name="gander" value="m">男
    <input type="radio" name="gander" value="f">女<br>

    爱好：
    <input type="checkbox" name="hobby" value="sports">运动
    <input type="checkbox" name="hobby" value="music">音乐
    <input type="checkbox" name="hobby" value="reading">阅读
    <input type="checkbox" name="hobby" value="travel">旅游<br>

    籍贯：
    <select name="hometown">
        <option value="beijing">北京</option>
        <option value="shanghai">上海</option>
        <option value="guangdong">广东</option>
        <option value="zhejiang">浙江</option>
        <option value="other">其他</option>
    </select><br>

    <input type="submit" value="注册">
</form>
<a href="hello-servlet">Hello Servlet</a>
</form>>
</body>
</html>